//
//  YHOptionTableViewItemInputTextView.h
//  ScriptKill
//
//  Created by 林宁宁 on 2021/4/29.
//  Copyright © 2021 优智汇. All rights reserved.
//

#import "YHOptionTableViewItem.h"

NS_ASSUME_NONNULL_BEGIN

@interface YHOptionTableViewItemInputTextView : YHOptionTableViewItem

/// yh_h1
@property (retain, nonatomic) UIColor * textColor;

/// 预设文案
@property (copy, nonatomic) NSString * placeholder;
/// yh_placeholder
@property (retain, nonatomic) UIColor * placeholderColor;

/// 是否可编辑 不能编辑就是选择状态
@property (assign, nonatomic) BOOL editAble;

/// 文本输入最大长度
@property (assign, nonatomic) NSInteger maxTextCount;

/// 键盘类型
@property (assign, nonatomic) UIKeyboardType keyboardType;

@property (retain, nonatomic) UIColor * textViewBgColor;
@property (assign, nonatomic) CGFloat textViewCornerRadius;
/// 5 5 5 5
@property (assign, nonatomic) UIEdgeInsets textViewContentInset;

/// 文本输入变化
@property (copy, nonatomic) void(^textInputChangeBlock)(NSString * text, YHOptionTableViewItemInputTextView * passItem);
/// 文本输入完成
@property (copy, nonatomic) void(^textInputFinishBlock)(NSString * text, YHOptionTableViewItemInputTextView * passItem);

@end

NS_ASSUME_NONNULL_END
